package domain;

public class Card {

    private int value=0;          // Number of images to know the file name
    private boolean isFaceUp; 

    public Card(int valueIn)
    {
        value  = valueIn;

    }
    
    public void setValue(int value2) {

    		this.value = value2;

    }
    
    public int getValue()
    {
        return value;
    }
    
    public void setFaceUp()
    {
        isFaceUp = true;
    }
    
    public void setFaceDown()
    {
        isFaceUp = false;
    }
    
    public boolean isFaceUp()
    {
        return isFaceUp;
    }
    
    
    public String toString()
    {
        return "Value: " + value;
    }

    
}
